<template>
  <div>
    <h1>This is an vmodal page</h1>
    <!-- 自定义 model -->
    <p>{{name}}</p>
    <p>{{$route.params.id}}</p>
    <CustomVModel v-model="name" />
  </div>
</template>

<script>
import CustomVModel from "./CustomVModel.vue";
export default {
  components: {
    CustomVModel
  },
  data() {
    return {
      name: "Mario"
    };
  }
};
</script>


